﻿

namespace GoodAdmin.System;

public class DictTypeAddInput : SysDictType
{
    [Required(ErrorMessage = "字典名称不能为空")]
    public override string Name { get; set; }
    [Required(ErrorMessage = "字典值不能为空")]
    public override string Code { get; set; }
}

public class DictTypeUpdateInput : DictTypeAddInput
{
    [Required(ErrorMessage = "Id不能为空")]
    public override long Id { get; set; }
}

public class DictTypePageInput : BasePageInput
{
    public string Name { get; set; }
}